package com.ruoyi.exam.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷的题目详情对象 t_exam_paper_question
 * 
 * @author ruoyi
 * @date 2024-12-18
 */
public class ExamPaperQuestion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键，关联表ID */
    private Long id;

    /** 试卷ID，关联 t_exam_paper 表主键 */
    @Excel(name = "试卷ID，关联 t_exam_paper 表主键")
    private Long examPaperId;

    /** 题目排序，表示在试卷中的顺序 */
    @Excel(name = "题目排序，表示在试卷中的顺序")
    private Long sort;

    /** 题目类型，例如选择题、填空题等 */
    @Excel(name = "题目类型，例如选择题、填空题等")
    private Long questionType;

    /** 工种类别，运营类等 */
    @Excel(name = "工种类别，运营类等")
    private Long jobCategory;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String questionTitle;

    /** 题目内容,不同的json内容表示不同的选项内容 */
    @Excel(name = "题目内容,不同的json内容表示不同的选项内容")
    private String questionText;

    /** 题目答案 */
    @Excel(name = "题目答案")
    private String questionAnswer;

    /** 题目答案解析 */
    @Excel(name = "题目答案解析")
    private String questionAnswerExplain;

    /** 题目分值 */
    @Excel(name = "题目分值")
    private Double questionScore;

    /** 难度等级，例如1-5表示难度递增 */
    @Excel(name = "难度等级，例如1-5表示难度递增")
    private Long difficult;

    private String userAnswer;

    /** 题目大纲 */
    @Excel(name = "题目大纲")
    private String outline;

    

    public String getOutline() {
        return outline;
    }

    public void setOutline(String outline) {
        this.outline = outline;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setExamPaperId(Long examPaperId) {
        this.examPaperId = examPaperId;
    }

    public Long getExamPaperId() {
        return examPaperId;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setQuestionType(Long questionType) {
        this.questionType = questionType;
    }

    public Long getQuestionType() {
        return questionType;
    }

    public void setJobCategory(Long jobCategory) {
        this.jobCategory = jobCategory;
    }

    public Long getJobCategory() {
        return jobCategory;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionText(String questionText) {
        this.questionText = questionText;
    }

    public String getQuestionText() {
        return questionText;
    }

    public void setQuestionAnswer(String questionAnswer) {
        this.questionAnswer = questionAnswer;
    }

    public String getQuestionAnswer() {
        return questionAnswer;
    }

    public void setQuestionAnswerExplain(String questionAnswerExplain) {
        this.questionAnswerExplain = questionAnswerExplain;
    }

    public String getQuestionAnswerExplain() {
        return questionAnswerExplain;
    }

    public void setQuestionScore(Double questionScore) {
        this.questionScore = questionScore;
    }

    public Double getQuestionScore() {
        return questionScore;
    }

    public void setDifficult(Long difficult) {
        this.difficult = difficult;
    }

    public Long getDifficult() {
        return difficult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("examPaperId", getExamPaperId())
                .append("sort", getSort())
                .append("questionType", getQuestionType())
                .append("jobCategory", getJobCategory())
                .append("questionTitle", getQuestionTitle())
                .append("questionText", getQuestionText())
                .append("questionAnswer", getQuestionAnswer())
                .append("questionAnswerExplain", getQuestionAnswerExplain())
                .append("questionScore", getQuestionScore())
                .append("difficult", getDifficult())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
